package cn.kgm.orderStatus.impl;

import cn.kgm.orderStatus.AstractOrderState;
import cn.kgm.orderStatus.Order;
import cn.kgm.orderStatus.OrderState;

public class Submitted extends AstractOrderState {

    public Submitted(Order order) {
        super(order);
    }

    @Override
    public OrderState update() {
        System.out.println("更新成功");
        return this;
    }
}
